/********************************************
 * 功能说明: RoleAuthority实体对应的业务逻辑Service实现类
 * 模块名称:
 * 系统名称:
 * 软件版权: Frank
 * 系统版本: 1.0.0.1
 * 开发人员:
 * 开发时间: 2019-12-18 18:41:08
 * 审核人员:
 * 相关文档:
 * 修改记录: 修改日期 修改人员 修改说明
 *********************************************/
package com.spring.arch.uaa.service;

import com.spring.arch.uaa.model.RoleAuthority;
import com.spring.arch.uaa.model.RoleAuthority;
import com.spring.arch.uaa.repository.RoleAuthorityRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.UUID;


/**
 * RoleAuthority实体对应的业务逻辑Service实现类
 * @author
 * @version 1.0.0.1
 * @since 2019-12-18 18:41:08
 */
@Service
@Transactional(rollbackFor = Exception.class)
public class RoleAuthorityService {

    @Autowired
    private RoleAuthorityRepository roleAuthorityRepository;

	public void save(RoleAuthority model) {
		this.roleAuthorityRepository.save(model);
	}
	
	public void deleteById(UUID id) {
		this.roleAuthorityRepository.deleteById(id);
	}
	



}
